<form action="/admin/modules/movenode/" method="POST">
<table>
	<tr>
        <td>New destination:</td>
        <td>
                <select name="parent_id">
    	            {foreach from=$tree item=node}
 	    	           	<option value="{$node->module_id}">{section name=nbsps loop=$node->module_level*6}&nbsp;{/section}{$node->module_name} {if $node->module_id==$module_id} <<< {/if}</option>
            	    {/foreach}
        		</select><br>
                 <input type="hidden" name='module_id' value="{$module_id}">
        </td>
    </tr>    	
    <tr>   
    	<td>&nbsp;</td> 
       	<td><input type="submit" value="Apply"></td>
    </tr>
</table>        	
<input type="hidden" name='module_id' value="{$module_id}">        		
</form>